<template >
  <v-app>
    <v-main class="background-image">
      <router-view :key="key" />
    </v-main>
  </v-app>
</template>

<script>

export default {
  name: 'App',
  computed: {
    key() {
      return this.$route.path + Math.random();
    }

}
}
</script>
<style scoped>
.background-image {
  background-image: url("@/assets/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

</style>